package com.blue.wechat.invoke.model;

/**
 * 主动调用返回结果
 * 
 * @author zhengj
 * @since 1.0 2017年1月21日
 */
public class InvokeResult<T>
{
	private boolean result;
	private T success;
	private ErrorMsg error;

	public InvokeResult()
	{
	}

	public boolean isResult()
	{
		return result;
	}

	public void setResult(boolean result)
	{
		this.result = result;
	}

	public T getSuccess()
	{
		return success;
	}

	public void setSuccess(T success)
	{
		this.success = success;
	}

	public ErrorMsg getError()
	{
		return error;
	}

	public void setError(ErrorMsg error)
	{
		this.error = error;
	}

}
